package com.shop.cereshop.commons.domain.report.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 举报处理DTO
 *
 * @author
 */
@Data
@ApiModel(value = "ReportHandleDTO", description = "举报处理参数")
public class ReportHandleDTO {

    /**
     * 举报ID
     */
    @ApiModelProperty(value = "举报ID", required = true)
    @NotNull(message = "举报ID不能为空")
    private Long reportId;

    /**
     * 处理结果：1-删除内容 2-警告用户 3-封禁用户 4-无处理
     */
    @ApiModelProperty(value = "处理结果：1-删除内容 2-警告用户 3-封禁用户 4-无处理", required = true)
    @NotNull(message = "处理结果不能为空")
    private Integer handleResult;

    /**
     * 处理备注
     */
    @ApiModelProperty(value = "处理备注")
    private String handleRemark;
}
